/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: Carla Painemilla
 * License Type: Evaluation
 */
package orm.dao;

import org.orm.*;
import orm.*;

public interface CursoDAO {
	public Curso loadCursoByORMID(int curso_id) throws PersistentException;
	public Curso getCursoByORMID(int curso_id) throws PersistentException;
	public Curso loadCursoByORMID(int curso_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Curso getCursoByORMID(int curso_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Curso loadCursoByORMID(PersistentSession session, int curso_id) throws PersistentException;
	public Curso getCursoByORMID(PersistentSession session, int curso_id) throws PersistentException;
	public Curso loadCursoByORMID(PersistentSession session, int curso_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Curso getCursoByORMID(PersistentSession session, int curso_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Curso[] listCursoByQuery(String condition, String orderBy) throws PersistentException;
	public Curso[] listCursoByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Curso[] listCursoByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Curso[] listCursoByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Curso loadCursoByQuery(String condition, String orderBy) throws PersistentException;
	public Curso loadCursoByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Curso loadCursoByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Curso loadCursoByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Curso createCurso();
	public boolean save(orm.Curso curso) throws PersistentException;
	public boolean delete(orm.Curso curso) throws PersistentException;
	public boolean deleteAndDissociate(orm.Curso curso) throws PersistentException;
	public boolean deleteAndDissociate(orm.Curso curso, org.orm.PersistentSession session) throws PersistentException;
	public boolean refresh(orm.Curso curso) throws PersistentException;
	public boolean evict(orm.Curso curso) throws PersistentException;
}
